//
//  MainCollectionViewCell.m
//  HTP
//
//  Created by admin on 15/10/31.
//  Copyright © 2015年 nit. All rights reserved.
//

#import "MainCollectionViewCell.h"

@implementation MainCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        _selfFrame = frame;
        [self _initUI];
    }
    return self;
}
-(void)_initUI{
    _backImg = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, _selfFrame.size.width, _selfFrame.size.height)];
    _backImg.backgroundColor = [UIColor redColor];
    [self.contentView addSubview:_backImg];
}
-(void)setCollectionData:(id)collectionData{
    _collectionData = collectionData;
}
@end
